<?php

define('DS', DIRECTORY_SEPARATOR);
define('PATH_BASE', dirname(__FILE__));

/* front floders path*/
define('PATH_DATA', 	PATH_BASE.DS.'data');
define('PATH_ADMIN', 	PATH_BASE.DS.'admin');
define('PATH_CONFIG', 	PATH_BASE.DS.'config');
define('PATH_THEMES', 	PATH_BASE.DS.'themes');
define('PATH_PLUGINS', 	PATH_BASE.DS.'plugins');
define('PATH_CLASSES', 	PATH_BASE.DS.'classes');
define('PATH_MODULES', 	PATH_BASE.DS.'modules');

/* admin floders path */
define('PATH_ADMIN_DATA',	PATH_ADMIN.DS.'data');
define('PATH_ADMIN_CONFIG',	PATH_ADMIN.DS.'config');
define('PATH_ADMIN_THEMES',	PATH_ADMIN.DS.'themes');
define('PATH_ADMIN_PLUGINS',PATH_ADMIN.DS.'plugins');
define('PATH_ADMIN_CLASSES',PATH_ADMIN.DS.'classes');
define('PATH_ADMIN_MODULES',PATH_ADMIN.DS.'modules');

/* database infos */
define("DB_HOST","localhost");
define("DB_USER","root");
define("DB_PORT","3306");
define("DB_NAME","eazy");
define("DB_PASS","");
define("DB_TYPE","mysql");


/* function debug */
function debug($var){
	echo "<fieldset class='debug'>";
	echo "<legend class='debug_legend'><b>debug info</b></legend>";
	echo "<pre class='debug_pre'>\n";
	print_r($var);
	echo "</pre>\n";
	echo "</fieldset>";
}

?>